//Design By Do Trung --- Email : trungqn19852003@yahoo.com
//Ngày Design :09/12/2011 4:57:03 PM
using System;
using System.Data;
using System.Text;
using System.Linq;
using System.Collections.Generic;
using Data=VietStar.Library.Data;
using Entity = VietStar.Library.Entity;
namespace VietStar.Library.Business
{
	/// <summary>
	/// </summary>
	public class TinTuc
	{
		public TinTuc() {}
		Data.TinTuc tintuc= new Data.TinTuc();
		public bool Insert(Entity.TinTuc entity)
		{
		return tintuc.Insert(entity);
		}
		public DataTable Select(Entity.TinTuc entity)
		{
			return tintuc.Select();
		}
		public DataTable SelectPrimarykey(Entity.TinTuc entity)
		{
			return tintuc.SelectPrimaryKey(entity);
		}
        public DataTable Select_TheoChuyenMuc(Entity.TinTuc entity)
        {
            return tintuc.Select_TheoChuyenMuc(entity);
        }
		public bool Update(Entity.TinTuc entity)
		{
			return tintuc.Update(entity);
		}
		public bool Delete(Entity.TinTuc entity)
		{
			return tintuc.Delete(entity);
		}
        public DataTable SelectTimKiem(Entity.TinTuc entity)
        {
            return tintuc.SelectTimKiem(entity);
        }
        public bool Update_TrangThai(Entity.TinTuc entity)
        {
            return tintuc.Update_TrangThai(entity);
        }
        public DataTable SelectTinTucTheoAction(Entity.TinTuc entity)
        {
            return tintuc.SelectTinTucTheoAction(entity);
        }
        //Ham select theo chuyen muc
        public DataTable SelectByDanhMuc(Entity.TinTuc entity)
        {
            return tintuc.SelectByDanhMuc(entity);
        }
	}
}
